package com.example.mvpdemo.mvp4.base;

import com.example.mvpdemo.mvp3.ILoginView3;
import com.example.mvpdemo.mvp4.ILoginView4;

public abstract class BasePresenter4 <V extends BaseView4>{
    private V view;

    public V getView() {
        return view;
    }


    //绑定View
    public void attachView(V view){
        this.view=view;
    }

    //解绑View
    public void detachView(V view){
        this.view=null;
    }
}
